package com.hyt.it.ogt.data.model.entity.pj;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 题目附件表
 * </p>
 *
 * @author qiaozj
 * @since 2020-07-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pj_paper_item_file")
@ApiModel(value="PaperItemFile对象", description="题目附件表")
public class PaperItemFile extends BaseEntity {

    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "试卷id")
    private String paperId;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "试卷版本")
    private Integer paperVersion;

    @ApiModelProperty(value = "小题id")
    private String itemId;

    @ApiModelProperty(value = "选项id")
    private String optionId;

    @ApiModelProperty(value = "文件所属位置：option：选项，description：答案描述，answer：标答，stem：小题题干")
    private String fileLocation;

    @ApiModelProperty(value = "文件类型：document：文档，audio：音频，video：视频， voiceRecord：录音")
    private String fileType;

    @ApiModelProperty(value = "文件地址")
    private String url;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
